import { fetch } from 'api'
/**==========================
 *         修改资料
 ==========================*/
let _modify = (UnionID, Field, Val, PhoneCode) => {
   return fetch(
     'UpdtAgentInfo',
     {
       UnionID,
       Field,
       Val,
       PhoneCode
     }
    )
 }
// 重新获取会员信息
let _updateInfo = uid => {
  return fetch(
    'WebApi.ashx?Act=GetUserInfo',
    { UnionID: uid }
  )
}
 export {
   _modify,
  _updateInfo
 }